package com.ruoyi.project.jiaqin.answerreply.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 问答评论回复对象 jiaqin_answer_reply
 *
 * @author LCL
 * @date 2021-11-19
 */
public class JiaqinAnswerReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 评论ID */
    @Excel(name = "评论ID")
    private String questionAnswerId;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** 回复用户 */
    @Excel(name = "回复用户")
    private String fromUserId;

    /** 目标用户 */
    @Excel(name = "目标用户")
    private String toUserId;

    /** 回复时间 */
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyAt;

    /** 回复状态 */
    @Excel(name = "回复状态")
    private Integer status;

    private String commentContent;
    private String fromUserName;
    private String fromUserIcon;
    private String toUserName;

    /** 是否是企业：0-否 1-是 */
    private Integer isCompany;

    public Integer getIsCompany() {
        return isCompany;
    }

    public void setIsCompany(Integer isCompany) {
        this.isCompany = isCompany;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getFromUserIcon() {
        return fromUserIcon;
    }

    public void setFromUserIcon(String fromUserIcon) {
        this.fromUserIcon = fromUserIcon;
    }

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setQuestionAnswerId(String questionAnswerId)
    {
        this.questionAnswerId = questionAnswerId;
    }

    public String getQuestionAnswerId()
    {
        return questionAnswerId;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setFromUserId(String fromUserId)
    {
        this.fromUserId = fromUserId;
    }

    public String getFromUserId()
    {
        return fromUserId;
    }
    public void setToUserId(String toUserId)
    {
        this.toUserId = toUserId;
    }

    public String getToUserId()
    {
        return toUserId;
    }
    public void setReplyAt(Date replyAt)
    {
        this.replyAt = replyAt;
    }

    public Date getReplyAt()
    {
        return replyAt;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionAnswerId", getQuestionAnswerId())
            .append("content", getContent())
            .append("fromUserId", getFromUserId())
            .append("toUserId", getToUserId())
            .append("replyAt", getReplyAt())
            .append("status", getStatus())
            .toString();
    }
}
